import css from './css/demo.css';
import Image from './image.js'
import Index from './index.js'
import NextSibling from './nextSibling'
import GetId from './getId';
import applyFn from './applyfn';
let disList=document.querySelectorAll('li');
for(let i=0;i<disList.length;i++){
    (function addFn(item){
        disList[item].index=item;
    disList[item].onclick=function(){
        disList[item].innerHTML='nihao'
    }
    })(i)
    
}